package com.yunkaweilai.android.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/8/24.
 */

public class AppRuleModel {


    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"info":{"is_super":false,"station_rule":["3","5","6","89","90","91","92","72","94"],"app_rule":{"1":true,"2":false,"3":false,"4":true,"5":true,"6":true,"7":true,"8":true,"9":true,"10":true,"11":true,"12":true,"13":true,"14":true,"15":true,"16":true,"17":false,"18":false,"19":false,"20":false,"21":false},"is_app":"1"}}
     */

    private int loginCode;
    private int code;
    private String message;
    /**
     * info : {"is_super":false,"station_rule":["3","5","6","89","90","91","92","72","94"],"app_rule":{"1":true,"2":false,"3":false,"4":true,"5":true,"6":true,"7":true,"8":true,"9":true,"10":true,"11":true,"12":true,"13":true,"14":true,"15":true,"16":true,"17":false,"18":false,"19":false,"20":false,"21":false},"is_app":"1"}
     */

    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * is_super : false
         * station_rule : ["3","5","6","89","90","91","92","72","94"]
         * app_rule : {"1":true,"2":false,"3":false,"4":true,"5":true,"6":true,"7":true,"8":true,"9":true,"10":true,"11":true,"12":true,"13":true,"14":true,"15":true,"16":true,"17":false,"18":false,"19":false,"20":false,"21":false}
         * is_app : 1
         */

        private InfoBean info;

        public InfoBean getInfo() {
            return info;
        }

        public void setInfo(InfoBean info) {
            this.info = info;
        }

        public static class InfoBean {
            private boolean is_super;

            private Map<String,Boolean> app_rule;
            private String is_app;
            private List<String> station_rule;

            public boolean isIs_super() {
                return is_super;
            }

            public void setIs_super(boolean is_super) {
                this.is_super = is_super;
            }

            public Map<String,Boolean> getApp_rule() {
                return app_rule;
            }

            public void setApp_rule(Map<String,Boolean> app_rule) {
                this.app_rule = app_rule;
            }

            public String getIs_app() {
                return is_app;
            }

            public void setIs_app(String is_app) {
                this.is_app = is_app;
            }

            public List<String> getStation_rule() {
                return station_rule;
            }

            public void setStation_rule(List<String> station_rule) {
                this.station_rule = station_rule;
            }

        }
    }
}
